import request from '@/utils/request'
export default {

  getMyCourseList(page, limit, ucenterId) {
    return request({
      url: `/eduService/edu-mycourse/pageMyCourese/${page}/${limit}`,
      method: 'get',
      params: {ucenterId}
    })
  },
  addMyCourse(mycourse) {
    return request({
      url: `/eduService/edu-mycourse/auth/save`,
      method: 'post',
      data:mycourse
    })
  },
  deletdMyCourese(courseId){
    return request({
      url: `/eduService/edu-mycourse/deleteMyCourse/${courseId}`,
      method: 'delete'
    })
  }
}
